local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1
L0_1 = {}
L0_1.group_id = 133003378
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1179
L2_1.monster_id = 21010201
L3_1 = {}
L3_1.x = 2484.932
L3_1.y = 206.922
L3_1.z = -1237.886
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 84.659
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 2
L2_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 1436
L3_1.monster_id = 21010101
L4_1 = {}
L4_1.x = 2467.528
L4_1.y = 206.868
L4_1.z = -1228.611
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 25.406
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 2
L3_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L3_1.disableWander = true
L3_1.pose_id = 9003
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 1469
L4_1.monster_id = 21010101
L5_1 = {}
L5_1.x = 2471.823
L5_1.y = 206.341
L5_1.z = -1237.307
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 25.406
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 3
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L4_1.disableWander = true
L4_1.pose_id = 9002
L4_1.area_id = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 4145
L2_1.gadget_id = 70310001
L3_1 = {}
L3_1.x = 2464.508
L3_1.y = 207.108
L3_1.z = -1226.841
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 186.727
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 2
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 4146
L3_1.gadget_id = 70310001
L4_1 = {}
L4_1.x = 2484.224
L4_1.y = 206.777
L4_1.z = -1244.915
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 186.727
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 2
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 4147
L4_1.gadget_id = 70310001
L5_1 = {}
L5_1.x = 2487.355
L5_1.y = 206.85
L5_1.z = -1237.976
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 186.727
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 2
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 4148
L5_1.gadget_id = 70220013
L6_1 = {}
L6_1.x = 2462.797
L6_1.y = 206.392
L6_1.z = -1230.372
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 242.904
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 2
L5_1.area_id = 1
L6_1 = {}
L6_1.config_id = 4149
L6_1.gadget_id = 70220013
L7_1 = {}
L7_1.x = 2464.41
L7_1.y = 206.342
L7_1.z = -1232.481
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 288.012
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 2
L6_1.area_id = 1
L7_1 = {}
L7_1.config_id = 4150
L7_1.gadget_id = 70220013
L8_1 = {}
L8_1.x = 2463.719
L8_1.y = 206.222
L8_1.z = -1237.214
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 288.012
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 2
L7_1.area_id = 1
L8_1 = {}
L8_1.config_id = 4151
L8_1.gadget_id = 70220014
L9_1 = {}
L9_1.x = 2464.929
L9_1.y = 206.299
L9_1.z = -1235.986
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 339.2
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 2
L8_1.area_id = 1
L9_1 = {}
L9_1.config_id = 4152
L9_1.gadget_id = 70220014
L10_1 = {}
L10_1.x = 2488.395
L10_1.y = 205.63
L10_1.z = -1236.161
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 183.471
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 2
L9_1.area_id = 1
L10_1 = {}
L10_1.config_id = 4153
L10_1.gadget_id = 70220013
L11_1 = {}
L11_1.x = 2481.901
L11_1.y = 206.721
L11_1.z = -1244.395
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 288.012
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 2
L10_1.area_id = 1
L11_1 = {}
L11_1.config_id = 4154
L11_1.gadget_id = 70220013
L12_1 = {}
L12_1.x = 2489.274
L12_1.y = 205.519
L12_1.z = -1234.928
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 288.012
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 2
L11_1.area_id = 1
L12_1 = {}
L12_1.config_id = 4155
L12_1.gadget_id = 70310004
L13_1 = {}
L13_1.x = 2470.482
L13_1.y = 206.735
L13_1.z = -1239.851
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 158.056
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 2
L13_1 = GadgetState
L13_1 = L13_1.GearStart
L12_1.state = L13_1
L12_1.area_id = 1
L13_1 = {}
L13_1.config_id = 4156
L13_1.gadget_id = 70211002
L14_1 = {}
L14_1.x = 2467.972
L14_1.y = 206.294
L14_1.z = -1234.311
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 89.649
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\232\146\153\229\190\183"
L14_1 = GadgetState
L14_1 = L14_1.ChestLocked
L13_1.state = L14_1
L13_1.isOneoff = true
L13_1.persistent = true
L14_1 = {}
L14_1.name = "chest"
L14_1.exp = 1
L13_1.explore = L14_1
L13_1.area_id = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000519
L2_1.name = "ANY_MONSTER_DIE_519"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_519"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_519"
L2_1.tlog_tag = "\230\150\176\230\137\139\229\140\186_\228\184\187\229\138\168\231\186\191\229\183\166\230\150\185\232\144\165\229\156\176_\230\184\133\229\137\191\229\174\140\230\136\144"
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 1179
L5_1 = 1436
L6_1 = 1469
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 4145
L5_1 = 4146
L6_1 = 4147
L7_1 = 4150
L8_1 = 4151
L9_1 = 4153
L10_1 = 4155
L11_1 = 4156
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_519"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_519 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.ChangeGroupGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 4156
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L4_2.state = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : unlock_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_519 = L1_1
